func runtime.alignDown
13 uses
runtime (current package)
mbitmap.go#L338: tp.addr = tp.elem + alignDown(n-(tp.elem-oldelem), ptrBits*goarch.PtrSize)
mbitmap.go#L340: tp.addr += alignDown(n, ptrBits*goarch.PtrSize)
mbitmap.go#L768: size -= alignDown(uintptr(cheaprand())%size, goarch.PtrSize)
mem_linux.go#L102: end := alignDown(uintptr(v)+n, physHugePageSize)
mgcscavenge.go#L976: hugePageBelow := uint(alignDown(uintptr(start), pagesPerHugePage))
mpagealloc.go#L177: return int(alignDown(uintptr(lo), e)), int(alignUp(uintptr(hi), e))
mpagealloc.go#L363: base = alignDown(base, pallocChunkBytes)
mpagealloc_64bit.go#L118: baseOffset := alignDown(uintptr(sumIdxBase)*pallocSumBytes, physPageSize)
mpagealloc_64bit.go#L210: needMin := alignDown(uintptr(chunkIndex(base)), physPageSize/scSize)
mpagecache.go#L138: base: chunkBase(ci) + alignDown(uintptr(j), 64)*pageSize,
mpagecache.go#L155: base: alignDown(addr, 64*pageSize),
mranges.go#L89: limit := alignDown(a.limit.addr()-len, uintptr(align))
stubs.go#L431: func alignDown(n, a uintptr) uintptr {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |